fix unit tests
fix delete link