add test for relation
improve basic test
fix decimalfield, support in-line editing relations