created diagnostic_tests file in src and test