Add api tests to table and adds getDataOnly to all restangular objects