n-queens: tests.