added tag lib and controller unit tests