tests and implementation for all the numbers