modified added a before test and a title test