ticket:9 added test