refactored transformer spec
added more tests around feature transformer, handled returning on last end in file
made tranformation tests more robust