updates to fragments with tests