added test for command. partial though.