cleaning up bolt unit test, include stdlib for calloc proto