refac test