tests: Add interpreter version check

Signed-off-by: Michael Buesch <m@bues.ch>