creates test for repli function
repli function passes test