Add write test
Add add record commands