fixed path to application.tar.gz file and added much more stuff to the application test