Add a spec test to make sure spaces are handled properly for #51.