Added snippet for unit tests