test(protect): refactoring and streamlining tests