Refactor puppet::server spec tests to reduce code duplication
Add basic spec tests for puppet::agent