working comparison test, and more realistic input