Added the test function for the point collision check. Also replaced spaces with tabs