Removed test main() function