Lotto Test Function