API tests for sweets