some tests and scaffolding