added contact page and took further steps to DRY out the test code