ticket:9 added tests + implementation
ticket:9 added script
Merge branch 't9_command'