add tests, editing field after press enter