Javascript tests for the staff view.