Search method is broken, unit tests and more

Changes

* Added the missing query parameter
* Rename Metadata properties to upper camel case
* Code cleanup
* More Unit tests
* Removed `AccountCreationResult` class