Removed test main code