Add some tests for profile, change the way collections are dropped
Upgrade all depencies to latest version so that the previous commit can
work