amended test and github logging for stat to user