fixed some errors in apache rspec tests