Basic declaration typing test