Starting work on backend with badly written tests