fix rounding issue
move tests around
add rounding tests