fix dynamic var lookup
add fail test on class
add a fibo test
update to BSD3 license