tests (stolen from ralake - thanks!) actual re-write to come
readme