making mock api ready