fixed stupid bug
added testRaycasting