Cleaning up the specs

This commit cleans up the specs, using `expect` instead of `should`,
using `let` instead of local variables, removing unused assignations,
using an `_` for long numbers, using shared examples, etc.