added test for dataframe creation