Illustration of the best practices for designing and testing client-server application with REST API interface