tests for \Q