added post test with mocked data