fix api tests
correct test and update messages