Tests may be ugly, but we got some tests