The high court in Manchester will hear two cases on Wednesday that pit Sajid Javid, the communities secretary, against protesters who oppose the permission granted to fracking companies for test sites near Blackpool.