Make the install test lib-path independent.
Update unit tests to add the pattern attribute in dao conditions.