Added a automatic test-runner, implemented unit-tests to run test blocks.