Fixed tests

When the project is downloaded straight off Github, the test don't work. I fixed most of the tests here, except dateTime.