refactored test command to open option to test project and package seperately