Add function to get generic interface at jq path

Fix typo (get -> got) in error message
Added test for .Interface function