Finished with testing for creating key from data