Added a test for a bug in the master.