Adding test
Merge pull request #907 from wpreul/master

Adding test