Get patient tests passing
Simplify handling of singleton subrecords
Configure coverage
Remove some dead code
Beef up test coverage
Use fixtures for tests