simple testing example using core testing pkg