Test no commandFactory is available before it was registered