Tests and template for referee