fix spies in unit tests for SimpleSearch.View
fix testing of cached singleton modules
fix sharing of the reference to the array by object extending