The civil service exam was all of the following except which one?