Tests: begin_session, device