update travis script
add core data tests