Added tests for the element `levelPrice` of `UserPrefs`.

Added tests in order to check retrieving the levels prices specified in
the UserPrefs. Moreover, the samples os UsersPrefs are moved to the
test's `resources` folder.