Fix annotations in test classes.