add test and remove Python runtime dependency