Added in missing unit test files for permit.