remove trailing space in test name, add period