Added test for typed function input