added test code for inline editing