[test] Added test for default number values on resource method properties
[fix] Ensure that default values are used for numbers