Refactorization in timer.cpp (#5902), Removed misleading comment in symboldatabase
Improved testing of AST, added unit test for #5787