Added more fail tests and first sorting method;