Converted the rust test to an automated test and fixed up automated testing