Tested define_model function and fixed frontend validation for issue #113
8 files changed