Add spec ensuring that work_packages#index retrieves queries from session