++test for pyramid