Simplify test __main__ method
Merge pull request #3 from ilveroluca/clean_test_main

objects