Fix session spec
fix cs_spec lib
fix pagination test on sensor_management_spec