added explanations to asserts in api tests

closes #49