completed unit tests on stim alignment