Started testing

I have now begun testing the development so far. The tests have already proved useful since they have shown errors I did not expect. However, I have not solved these errors yet, but simple made them TODO