fixed bower includes and authored a unit test