add schema tests

- Fix a small bug with PID being a string in /api/health