test class for quote conversion