adding regression test and fix for recursion bug [https://github.com/CodeSleeve/sprockets/issues/5]