Added make check target.

Test runtime basics.
Setup error report in the context.