Wrong location for transferPropsTo

In its old position for the non navbar use-case it would end up transferring all props to both the nav and the ul.
Use native React test function to look for classNames. Second assert added for additional use case.