Create Class and SingletonClass patterns
Add tests for Class and SingletonClass patterns