Fix installation of embed-apps-test-app and import of wait

The version of cert.py on master does not run!
Must have messed up a rebase or merge along the way.