Fixes #215: Parameters can be saved without a value

@domcleal thanks, I changed the tests