Adds empty and one-sized tests cases
Fixes warnings