Add tests from EJTP

In some way, it is part of campadrenalin/EJTP-lib-python#132 pull request.