added tests for custom function
added custom function to object notation
can override nested objects
merged readme