Feature/tests

I've written some tests. The array test is failing ...