Remove init callback from tests

Remove init callback form attribute_test.c and ws_set/test.c