tests refactored, Print added. clean code
trend logic with error
bugfixes