Update to use bash double bracket notation for tests