Started using Check for unit testing. Added unit tests.