Added test for initialize callback