Added tests for entity factory related to setting initial values
Added tests for abstract entity