use separate files to organize test code and update cookbook.rb getter and setters