Clean up tests. Fixed error (using integer division)