Added .test files to gitignore
Fixed shuffle function to actually shuffle.

The problem was that I didn't know that math/rand needs to be seeded
beforehand.