add tests for controller and form of Session module