Refactor upload tests and add locked asset tests for registered user