Implemented missing test coverage for output class type mismatches. Added new macro for quickly handling these types of checks