Fixed test
Wait async test
Added a case to test mocked framework api