Adds test case for singleton constructor that don't implement dispose method