Added a before filter to allow testing request obj