added tests for edge case scenarios