Added build/ folder to gitignore
Added tests for the snapshot manager