Convert shell tests to junit 4.