Testing attribute definition

I've added tests for all attributes type definitions and improved `timestamp` to work with Date and DateTime objects as well.
This seems like it might be too broad of a rescue?