Add test for processData