Unit tests for rayter

I'm planning to use rayter in the game (Roni) that we're working on, and then I will probably implement some improvements/new features in rayter. 

I'm starting with setting up some unit tests.