More unit tests with Rhino Mocks

Added Rhino mocks so that we can have test for methods which uses
Session values.