Added tests for multiple contexts, same function name