Added test and patch for `finally` as a spaced keyword

Closes gh-782