shape testing before creation