Debugging Accessories class

Debugging accessories class. Added unit test.