added a test for cacheMatrix$set() function