Fixed two typos in test source.
Added missing brackets in test source assert messages.