add examples for rows and axis
make type selector optional
reoranize tests