Added console stuff to test_app.c. Had to add a dependency on libc so things link (mainly, so malloc would link).