adding new test for singleton
updating new test for singleton. updated attribute test to use assertTrue and assertFalse