Added tests for specifying adapter in globals