Updated the API reference to v0.4.0
Updated the unit tests to v0.4.0