Fixed incorrect indentation in expected error string in tests