Added final unit tests to tests.py; spatial_learning.py passes all tests