Changed Energia test code