Rename a couple of tests.
Add a BridgeException PHP exception and sanitise embed_py_func()'s input.