switching to test.check