testing ApplicationController before_filter