Added some tests using the check unit testing framework