added test functions

saving ranking, showing popup window.