fix broken test

The test never actually execute the function which should have been executed.