test: add core tests