Add tests for bundle metadata parsing and fix a corner case (non empty args list for a bundle with no args))