NXP-14768: Add some unit tests and avoid duplication when server case rename