Tests and fixes for parsing constants.