add test
add cast test
change assert to same from equals