Better error message stacks
build for testing