Fixed tests for hidden functions and moved data for tests.