fixed test loading bug