I've added some more tests

Some tests of session. The test of mappath is ignored since for some reason mappath produces different result on mono.