adding rspec tests for pi_config