cleanup + window test