test case and remove newline from glog statements