Unit test for functional interface arg adaptation