Incorporate some closure properties into pipeline environment
Fix CFFI test when executed multiple times
Move ctypes function call test to foreign call test package