switched to PSR-4
switched to direct closure invocation
cleanup in README
added example for custom tests