Fix sample project tests