Single file app plus tests