Some work on python unit tests - convert or keep?  Some of both probably.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>