adding to test_kernels_api.py

- Check all HTTP status code responses for requests
- Test invalid kernel IDs