some test added, resolve #1