+#####
+
+$csv = SL::Helper::Csv->new(
+ file => \"Kaffee", # " # make emacs happy
+ header => [[ 'foo' ]],
+ profile => [{
+ profile => { foo => '' },
+ class => 'SL::DB::Part',
+ }],
+);
+$csv->parse;
+
+is_deeply $csv->get_data, [ { foo => 'Kaffee' } ], 'empty path still gets parsed into data';
+ok $csv->get_objects->[0], 'empty path gets ignored in object creation';
+
+#####
+
+$csv = SL::Helper::Csv->new(
+ file => \"Kaffee", # " # make emacs happy
+ header => [[ 'foo' ]],
+ strict_profile => 1,
+ profile => [{
+ profile => { foo => '' },
+ class => 'SL::DB::Part',
+ }],
+);
+$csv->parse;
+
+is_deeply $csv->get_data, [ { foo => 'Kaffee' } ], 'empty path still gets parsed into data (strict profile)';
+ok $csv->get_objects->[0], 'empty path gets ignored in object creation (strict profile)';
+
+$csv = SL::Helper::Csv->new(
+ file => \"Phil", # " # make emacs happy
+ header => [[ 'CVAR_grOUnDHog' ]],
+ strict_profile => 1,
+ case_insensitive_header => 1,
+ profile => [{
+ profile => { cvar_Groundhog => '' },
+ class => 'SL::DB::Part',
+ }],
+
+);
+$csv->parse;
+
+is_deeply $csv->get_data, [ { cvar_Groundhog => 'Phil' } ], 'using empty path to get cvars working';
+ok $csv->get_objects->[0], '...and not destorying the objects';
+
+#####
+
+$csv = SL::Helper::Csv->new(
+ file => \"description\nKaffee", # " # make emacs happy
+);
+$csv->parse;
+is_deeply $csv->get_data, [ { description => 'Kaffee' } ], 'without profile and class works';
+