Add removed test code