Add basic test case for mapMaybe