Added beginsWith op; added query action declaration to the test