Changes tests to assertion syntax