refactored to package tests in separate modules
added test_list_kieys
Added list_versions
refactor tests for better error checking