Fixed wrong Assert class in api tests