Fix property name for quantity. Add integration test and docu.