Added GetAttributes method.
Fixed paste bug/ignored broken test.