moved HeadlessTestRunner to beam-core for common usage