fixed back-end tests