Can instanciate a non content manager class
The test that checks if a class can be casted to a ContentManagerInterface is inverted and always returns false. As a result, you can instanciate as content manager class a class that does not implement the interface and thus it fails later.