different test assertions in python 3