[test] Adding tests for #6