Adding more unit test to ajax function
More strong unit test.
adding unit test for new primary field in model.