added sample support to tests