Test tank control