ticket:9 duplicate output to STDERR
ticket:9 added test for management command
Merge branch 't9_command'