adding tests for adding data