add beetle spec and remove mocking when using the config