added the test for middleware.
updated bower components.