fixed the smample test