added separate tests for attribute parsing