remove unneded unit tests, make foundation sample nicer