EnumExtensions and tests

- EnumExtensions methods
- - public static T ToEnum<T>(this int value);