backend testing: changing from asserts style to expect style