First attempt shared testing code.