adding tests for a few edgecases