fixed front and back-end tests broken by recent changes