fix rosmaster tests with python 3