Fix memory leak on macros registering.
Skip newlines before a value.
Fix leak.
Fix hashes corruption.
Fix tests.
Add results for passed tests.