BuildObject now properly handles enums
add enum test
add bump script
bump to 2.3.1