unit testing for client view and command handling