tested impressionist middleware, changed unittest to spec like assertions