null profile exception test passes