added basic coverage and tests