ticket:3 added test