added more test to readAttributes
added more test to readAttributes