Extracted panic_expected function in test helpers.
Added evaluation of integers and booleans.

Other values are not reducible yet, thus an error is returned.
Merge pull request #6 from razielgn/primitives-evaluation

Added evaluation of integers and booleans.