called tests in main