Tests

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