Adds testcases for multi key permit
Adds code to support multi key permit
Updates a few tests to reflect change in error message