n-queens test