testing for extends classes