changed a test to have an assert