fixed alerts test

details in email.
Small usability issue here. You generally make from the root, but this expects the file to be run from `src/test`. Maybe better just make write to current pwd.