convert to Junit4 and use HeadLessTestRunner