Adding a test for and fixing a method detail edge case