WIP: Change noop to use anonymous function and added tests.