Added tests for commands without package -p <dir>
Merge branch 'bugfix/File_directory_on_nil' into develop

Added a test for checking with or without -p flag.