Added a test for multi-attributes

Added the possibility to set an attribute to any native types,
including Dates. Added the createOptions(options) function to
insure that default values are present (issue #19).
Changed how inline text is handled in the _text field

solved issue #20
Added the test attribute within an array