adding lots more unit tests for command interceptor