Quited down some tests, and fixed session getinstance problems.