added tests (that currently fail) for classes called 'main'