Added api fields tests.