Remove return statements from assert methods