Added unit tests + documentation to Session, added methods for setting alert masks