Adding test for #750

Adding test. Closes #750.