Add further tests to name setting