Add tests of different invocation styles
Fix invocation with absolute path