allow functions as value for 'defaultValue' property
write a test case for defaultValue accepting functions
fix indentation for #975
update test case for #975
wtf bbq
fix test for defaultValue allow functions #975
Merge pull request #975 from thanpolas/defaultValue-allow-functions

Allow functions to be defined as values for "defaultValue"