initial push of teting code, trimmed down from modular demo