start adding tests

Add pointermap tests

Fix karma paths

add legal header