minor cleanup and using semtrex parse in a test