Handled unknown location types
Added tests for signals