Split test_elwise.cpp into 6 files to try and reduce memory usage