add session to spec
[#012][sj&lyj]add db spec and nav spec
sj adjust some spec to merge others code