Add test for getting non-exist plan