spot controller tests
add factory for spot
new spot controller updates for tests