Add detailed assert messages to test script