Add more tests and small fixes for tag/builder.go

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>
High test coverage for builder, close #2

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>