added a edge-case test