Refactored and added tests

Added more tests for WhisperNote and EveryPass.
Create a common set of tests in the common project.
Create common_support.js to provide common test support functions.
Update builds to use common tests.