Testing various types of algorithms