Test benches are critical to any FPGA or ASIC design. HardwareBee has written a wonderful piece about this topic. Read more about test benches here.