Completing unit tests for malformed.