tests for test-main file