Random module methods. Test