added tests for editing manual record