Computing automorphism groups and isomorphism testing in finite groups