memory leak test added and seems good, just need to get variables from main project