Added getQuantity/setQuantity methods + set default value to 1

Also changed constructor test, to expect the default quantity element.

But I'm not sure the ->get('quantity') should always return the default 1, isn't that where the method getQuantity() is for?