Add py.test configuration
Add class to patch multiple instances
Add decorator tests
Add logger tests