mechanical and electrical testing