Added a test case to prevent #236 from reoccurring