Macros not recognizing spells - Rogue

When creating a macro for talent ‘Cold Blood’ spell is described as not learned, talent is selected and can be used outside of macros.

The macro in question is:

#showtooltip Secret Technique
/cast Cold Blood
/cast Secret Technique