simpleoverlaptest: not working as expected