add edit and new controller test