add core tests