Test repository creating.