added edge case test