[backend] unittest for frontendclient