added tests from forked repo