prepared tests for issue #6