fixed transform auto size
using jasmine to unit test for input