ticket:3 added tests and url