Data inview: unit tests and working example update

1. Added unit tests.
2. Added "Purpose" statement to working examples.
3. Matched `.bar-demo` visual style to Bootstrap panels.