Added functional test demonstrating problem.