reworked assertions in tests to be more informative