Adding messaging for success and failure, cleaning up tests, creating
common lib.