change method for resolving test location
Merge pull request #459 from nla/js-fixTest

change method for resolving test location