Adding tests to security and models.