Added support for attributes without values and a attribute test.