Fixed session bug.
Fixed test packages.
Fixed session bug.