test bash code