Clean up package tests.
Port initial Server test case to Mocha.
Port grant registration test cases to Mocha.