fixed collapsing issue with default values
collapsing unit tests