Addresses issue #9, fixes repr test when class is directly imported