test simple case