Added acceptance tests. Pushed version 4.0.0-rc1.