edge case tests added