test for when no data is passed
return empty object when no data is passed
0.0.2