Added new session tests
Added realpath check to test to resolve the file to ensure that it exists
Added in tests for session.bug_compat_42, session.bug_compat_warn and session.hash_function.