Add test for unset attributes

This test should pass if #6 is fixed.