Fix: Refactor api tests
Update: changelog for 0.4b