Rewrite of test infrastructure and bump to 0.3