* fix list target not handling all resources permissions * add test * fix same bug for session package * split target tests to two separate tests
* fix list target not handling all resources permissions * add test * fix same bug for session package * split target tests to two separate tests