remove unused requires
update testcase for install
remove @import middleware if no css reps, fix server error.