added test for getScheme