Using annotations in tests