Added custom field class attribute, refs #18
Added tests for custom field class, closed #18