adding a test to validate that just passing in a structure and data object works