added more tests and started .Write<T> API