Added tests for edge case.