Three-dimensional testing