import pytest and remove unused imports
add core tests