Adding basic `exit` procedure and altering unit tests such that a failing test will exit with 1, thus causing `make test` to stop