add a few tests for fn with destructuring.