The impact of testing format and reflection on student perceptions of science