Adds minitest.
Adds scope test
Fixes tests runner
Adds tests for name resolution