Added tests for invalid comm creation.