Added Inner function and test

s/ans/expect/g (or want - which ever) over []struct.