Added an angular snake test, and modified the original to make it better.