update version writing when making; update test directories