fix loading bug for testing files
remove old or outdated tests