adding mod operator
prettifying tests