Add tests for wait_for_server_status

Unit tests for wait_for_server_status, partially implements bp unit-tests.

Change-Id: I11a30291b99fd3f33b01ce3d96e084e7e708c998
Merge "Add tests for wait_for_server_status"