fix(HttpInterceptor): Get value as boolean type

of the query string ‘apimock=true’.
Add more test cases.