Added MinSize check and revised tests.