Rework unit tests to check actual result elements.