Testcase for bug with Function.apply in Firefox 35