Merge "Add test to cover loading shared-lib with appAsLib as true. This patch made AppAsLib_test use its own resource"