completes unit tests for page model