Research and development activities, including laboratories, testing, small-scale experimental and pilot plant operations and production operations incidental to research and development practice and techniques, provided that all necessary safeguards are employed to prevent hazard or annoyance to the community.