Test-Assignment: A Quadratic Coloring Problem