Added unit test for very strange compiler break.