Fix endpoints handlers signature. Migrate the rest of tests to Buster.