Added test to show that you can use closures in overrides as well
Update docs to show that you can use closures in overrides