Add example test case, fix html

Add an example test case using the django test framework, and fix
validation errors found in process