test updated to work with sample data from server