Turned silly test left behind into actual code.