tests for functionality testing of quote