ticket:4 added test