Pointers/Help for testing action_view based plugins?

Hi all -

Writing my first plugin that overwrites stylesheet_link_tag. In trying to be good I even borrowed the tests for the original method and put them into my plugin's testing code.

But to make it all work I ended up having to do this at the top: