This test needs to be changed to check for emitting of a warning, like discussed elsewhere. Or it should match the name regardless of the spaces.