changed unittest, added variant 2 with assertTrue