Refactorying and modifying test cases to use a mock context as to not
effect the actual application's databsae