test from sample data