Test function not working

Ah thanks it is working now i know it executes. I saw the debug line and now i just need to fix the specifications