rename test context and fix it
fix unit test NPE