Fixed a bug inside create_path that prevented the creation of simple objects inside lists. Added unittest for this case.