updating tests to fix #7