OpenStack Ceilometer Script: Add tests

Add a test for checking if PID is null and  if it is, we return a critical.
Otherwise, netstat + grep could fails.