Adds specs

This will make ensuring that contributions won't break existing functionality easier.