Added support and tests for Date as attribute.
Added explicit test for String as attribute.
Added comments
Added support for Time as Attribute(as Date.class).