Add tests on the new pinning feature and dev-workflow