add pieces

add all pieces and some tests over them