test application code