Fixed signal name
Bug fix
Added tests