Main test.