ticket:13 implemented test