Renamed assertion functions to match official documentation. Updated comments too.
Renamed and updated to match official documentation.