Automated test case generation using an artificial fish swarm algorithm