Using tests to debug issue.
Progress with command queue tests. one test failing.