Added framework tests

Added a test page and tests to ensure changes do not break
functionality.