add basic testing framework
update slughifi to use underscores
Update tests
clean up tests
Fix subtle and not-so-subtle problems in context keynames; preserve underscores consistently and slugify everything.