added existing tests from upstream
fixed error