Added bats test for patching the source code