tests for idAttribute models