finished Common classes with tests