Fix basic sample test.