actually the naming is bad anyway. the initial implementation only was used to check if a host is reachable (routing etc) inside a network. then later other stuff came in like RTT. however a ping on a higher layer is mostly not a "real" ping.
since it tests way more than just reachability. i.e. a http also checks connectivity and when it comes to domains it even includes a dns check.