adding core unit tests