encapsulations and testing error signaling