Add tests for impossible commands, fix found errors in hybridbayes.