added testcases and error handling for multi attrs