Refactor Core::ConnectionFactory spec

- Remove spec helper overhead
- Don't meddle with the namespace