Fixing node controller's tests