finished test and solution for formatted division