message: test  naming
diff: @@ -4,13 +4,12 @@ import { TestAPIClient } from './TestAPIClient';
  import { getStringFromFile } from '../../utils';
  import { validTestCertPath } from '../test-helpers';
  -const cert = getStringFromFile('./src/__tests__/unit/test-privatekey.pem');
  +const cert = getStringFromFile(validTestCertPath);
  describe('XeroAPIClient', () => {
  let xeroClientConfig: IXeroClientConfiguration;
  let testXeroAPIClient: XeroAPIClient;
  - describe('OAuthClient App Types', () => {
  - describe('For Private Apps', () => {
  + describe('when using a private app', () => {
  beforeAll(() => {
  xeroClientConfig = {
  AppType: 'private',
  @@ -21,7 +20,7 @@ describe('XeroAPIClient', () => {
  testXeroAPIClient = new TestAPIClient(xeroClientConfig);
  });
  - it('sets the options for Private Apps', () => {
  + it('sets correct options', () => {
  expect(testXeroAPIClient.state.oauthToken).toEqual(xeroClientConfig.ConsumerKey);
  expect(testXeroAPIClient.state.oauthSecret).toEqual(cert);
  expect(testXeroAPIClient.state.consumerKey).toEqual(xeroClientConfig.ConsumerKey);
  @@ -30,18 +29,17 @@ describe('XeroAPIClient', () => {
  });
  });
  - describe('For Public Apps', () => {
  + describe('when using a public app', () => {
  beforeAll(() => {
  xeroClientConfig = {
  AppType: 'public',
  ConsumerKey: 'myConsumerKey',
  ConsumerSecret: 'myConsumerSecret'
  -
  };
  testXeroAPIClient = new TestAPIClient(xeroClientConfig);
  });
  - it('sets the options for Public Apps', () => {
  + it('sets correct options', () => {
  expect(testXeroAPIClient.state.oauthToken).toBeNull();
  expect(testXeroAPIClient.state.oauthSecret).toBeNull();
  expect(testXeroAPIClient.state.consumerKey).toEqual(xeroClientConfig.ConsumerKey);
  @@ -50,7 +48,7 @@ describe('XeroAPIClient', () => {
  });
  });
  - describe('For Partner Apps', () => {
  + describe('when using a partner app', () => {
  beforeAll(() => {
  xeroClientConfig = {
  AppType: 'partner',
  @@ -61,7 +59,7 @@ describe('XeroAPIClient', () => {
  testXeroAPIClient = new TestAPIClient(xeroClientConfig);
  });
  - it('sets the options for Partner Apps', () => {
  + it('sets correct options', () => {
  expect(testXeroAPIClient.state.oauthToken).toEqual(xeroClientConfig.ConsumerKey);
  expect(testXeroAPIClient.state.oauthSecret).toEqual(cert);
  expect(testXeroAPIClient.state.consumerKey).toEqual(xeroClientConfig.ConsumerKey);
  @@ -70,8 +68,6 @@ describe('XeroAPIClient', () => {
  });
  });
  - });
  -
  describe('XeroApiClient OAuth10a', () => {
  let unauthRequestToken: any;
  let accessToken: any;
  