Nitin,
I would suggest writing a unit test for each of the assembler methods that
you have coded.
For instance, you could pass various arguments (good and bad) to the fill()
method and verify the correct results (or errors) are returned. This would
be a straightforward way of testing.
--
Tom Jordahl
Adobe