encapsulating assembly spec tests