test spec scoping fix.