added spec run context test
added spec run context fix