added unit tests and average daily playtime