Add a test case for SHARK-138.