If you sit here and noodle around on the internet until your test, take the test, and then fail, that is how you should learn the lesson. You will associate goofing off and procrastinating with failure, therefor the next time you have something due you will start working on it in a reasonable time frame ahead of time. People often procrastinate as long as their ability to finish said work will allow them to.