Controller logic

Added tests to reflect the ratio-related instance methods created on the models.