db upload tests. all green. TODO: delete tests