Added testing to backend