adding test to have implementation remove console.php file from args
adding code to remove first arg if it is expected file name