Test attributes declared as strings

Thanks @mikegee

Closes #380