First API unit tests
Fix name mismatch status -> status_code
Create DictMock and more unit tests