Add tests for @run_mode
Test acceptence of custom path