ticket:14 added tests for clean-methods