Testing repository functionality.