Checks that keys are imported correctly