modified gem; testing controllers