Fix AlgorithmParameter tests to have better errors

The previous test was catching all the exceptions and printing out the
message of the exception which erased all the useful information.

Bug: 26413503
Change-Id: Id4c9f6db59d19b67c2f4e098fbe79587fcbabb34
22 files changed