added secret key creation and hmac-sha1 computation to test_app code;