Better code, better tests