Added some tests for ids and attributes