added federated recipe bats tests
federated tests modified to work properly in CentOS
centos init.d scripts changed to work properly
redhat init.d scripts fixed to return the correct exit result in status