add core data tests