Move to v0.3.0-alpha.3. Add a few test cases and fix a few bugs.