Create function edit to tests controller. Change javascript and css links - replace assets/ with ASSETS_URL. Create test_edit_view.