Implemeneted the unit-test for the abstract view.

Signed-off-by: Snakevil Zen <zsnakevil@gmail.com>
Added the abstract view.