ticket:1 Implemented tests