completed Tick function
Add tick_test function for visual results