added tests for 0-people case