small python tests