fixed some types
fixed tests due to Stats Result refactoring