test script to check if context available

test script for issue:
“MongoDB - loopback.getCurrentContext() return null”

https://github.com/strongloop/loopback/pull/885