Adding gitignore, making the tests actually work

Signed-off-by: Andrew Lowther <andy.lowther@mademedia.co.uk>