happy path tests for data manipulating funcs