self test not active by default
adjusted linker files for bug fixing