final fixes to get tests passing

Signed-off-by: Ken Barber <ken@bob.sh>