adds test to commit f47a96e457a42c5c1ac7d9ac250d3ee1cc16c858 closes #2