adds modifier as function test