added diagnositcs project and tests