test: inital tests and corresponding infrastructure
minor: fixing imports
tests and minor fixes
tests: completing test suite