testing subprocess and custom bash commands